package cn.sdc.bugKiller.bean;

import java.util.HashMap;


public class PriorityBean extends CodeBean{
	
	public static String TBL_NAME = "cd_priority";
	
	public static HashMap<Integer,String> priotiryMap = new HashMap<Integer,String>();
	public static Integer PRIORITY_ALL = new Integer(0);
	public static Integer PRIORITY_1 = new Integer(1);
	public static Integer PRIORITY_2 = new Integer(2);
	public static Integer PRIORITY_3 = new Integer(3);
	public static Integer PRIORITY_4 = new Integer(4);
	public static Integer PRIORITY_5 = new Integer(5);
	
	static{
		priotiryMap.put(PRIORITY_1, "低");
		priotiryMap.put(PRIORITY_2, "中");
		priotiryMap.put(PRIORITY_3, "高");
		priotiryMap.put(PRIORITY_4, "紧急");
		priotiryMap.put(PRIORITY_5, "严重 ");
	}
	
	public static String getName(Integer id){
		return priotiryMap.get(id);
	}
}
